<aside class="main-sidebar">

	<!-- sidebar: style can be found in sidebar.less -->
	<section class="sidebar">

		<!-- Sidebar user panel (optional) -->
		<div class="user-panel">
			<!-- <div class="pull-left image">
						<img src="/assets/img/user2-160x160.jpg" class="img-circle"
							alt="User Image">
					</div>
					<div class="pull-left info">
						<p><@shiro.principal type="net.sppan.base.entity.User" property="nickName"/></p>
						Status
						<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
					</div> -->
		</div>



		<!-- Sidebar Menu -->
		<ul class="sidebar-menu">
			<li><a href="/admin/welcome"> <i class="fa fa-home"></i> <span
					class="nav-label">主页</span>
			</a></li>
			
			<li class="treeview"><a href="#"><i class="fa fa fa-weixin"></i>
					<span>微信管理</span> <span class="pull-right-container"> <i
						class="fa fa-angle-left pull-right"></i>
				</span> </a>

				<ul class="treeview-menu">
					<@shiro.hasPermission name="system:user:index">
					<li><a class="J_menuItem" href="/admin/user/index">公众号管理</a></li>
					</@shiro.hasPermission> <@shiro.hasPermission
					name="system:role:index">
					<li><a class="J_menuItem" href="/admin/role/index">角色管理</a></li>
					</@shiro.hasPermission> <@shiro.hasPermission
					name="system:resource:index">
					<li><a class="J_menuItem" href="/admin/resource/index">资源管理</a>
					</li> </@shiro.hasPermission>

				</ul>
				
			</li>
			

			<li class="treeview"><a href="#"><i class="fa fa fa-cog"></i>
					<span>系统管理</span> <span class="pull-right-container"> <i
						class="fa fa-angle-left pull-right"></i>
				</span> </a>

				<ul class="treeview-menu">
					<@shiro.hasPermission name="system:user:index">
					<li><a class="J_menuItem" href="/admin/user/index">用户管理</a></li>
					</@shiro.hasPermission> <@shiro.hasPermission
					name="system:role:index">
					<li><a class="J_menuItem" href="/admin/role/index">角色管理</a></li>
					</@shiro.hasPermission> <@shiro.hasPermission
					name="system:resource:index">
					<li><a class="J_menuItem" href="/admin/resource/index">资源管理</a>
					</li> </@shiro.hasPermission>

				</ul>
				
			</li>
		</ul>
		<!-- /.sidebar-menu -->
	</section>
	<!-- /.sidebar -->
</aside>